#include<stdio.h>
#include<string.h>
#include<stdlib.h>
int main ()
{
/*int a=7,b=3,c;
	swap(&a,&b);
	printf("a=%d b=%d",a,b);*/
	/*int a=0x11223344;
	int *p=&a;
	char* w=&a;
	printf("%x\n",a);
	printf("%x\n",*p);
	printf("%x\n",*w);*/
	/*char a [20];
	char *p;
	p='\0';*/
	/*scanf("%s",a);
	while(*p)
	{
		p++;
	}
	p--;
	while(*p=='*') 
	{
		p--;
	}
	p++;
	*p='\0';
	
	printf("%s\n",a);*/
	/*int a=7;
	int * q=NULL;
	char * w=&a;*/
	/*int w=3; 
/*int  (*d)[0]=c;*/
	
	/*int a[3][4]={1,2,3,4,5,6,7,8,9,10,11,12};
	int * w[3][4]=&a;
printf("%d %d\n",a,*w); 
printf("%d %d\n",a[0],*(a+0));
printf("%d %d\n",&a[0],&a[0][0]);
printf("%d %d\n",a[1],a+1);
printf("%d %d\n",&a[1][0],*(a+1)+0);
printf("%d %d\n",a[2],*(a+2));
printf("%d %d\n",&a[2],a+2);
printf("%d %d\n",a[1][0],*(*(a+1)+0));
printf("%d %d\n",*a[2],*(a[1]+1));*/
int *p=(int *)malloc(3);
*p=3;
printf("%d",*p);
 return 0;
}